/**
 * 
 */
package com.et114.modules.content.vo;

import com.et114.core.dao.vo.BaseVO;

/*
 * @author guanhw
 */
public class CommonType extends BaseVO {
	private static final long	serialVersionUID	= - 2215995080860900691L;
	private Long				typeId;
	private String				typeCn;
	private String				typeEg;
	private Byte				globalKey;
	private Long				disOrder;
	private Long                parentId ; 
	
	public Long getTypeId ( ) {
		return typeId;
	}
	
	public void setTypeId ( Long typeId ) {
		this.typeId = typeId;
	}
	
	public String getTypeCn ( ) {
		return typeCn;
	}
	
	public void setTypeCn ( String typeCn ) {
		this.typeCn = typeCn;
	}
	
	public String getTypeEg ( ) {
		return typeEg;
	}
	
	public void setTypeEg ( String typeEg ) {
		this.typeEg = typeEg;
	}
	
	public Byte getGlobalKey ( ) {
		return globalKey;
	}
	
	public void setGlobalKey ( Byte globalKey ) {
		this.globalKey = globalKey;
	}
	
	public Long getDisOrder ( ) {
		return disOrder;
	}
	
	public void setDisOrder ( Long disOrder ) {
		this.disOrder = disOrder;
	}

	public Long getParentId ( ) {
		return parentId;
	}

	public void setParentId ( Long parentId ) {
		this.parentId = parentId;
	}
	
//	public boolean equals( Object obj ) {
//		if ( obj == null )
//			return false;
//		if ( ! ( obj instanceof CommonType ) )
//			return false;
//		
//		CommonType cc = ( CommonType ) obj ; 
//		 if ( cc.getTypeId ( ) != null && getTypeId( ) != null )  
//			 return cc.getTypeId ( ).equals ( getTypeId( ) ) ;
//		 return super.equals( obj );  
//	}
//	
//	public int hashCode ( ) {
//		if ( getTypeId ( ) != null ) {
//			return getTypeId ( ).hashCode ( );
//		}
//		return super.hashCode ( );
//	}	
}
